[Unit]
Description={{rune}} {{containerName}} Service
After=network.target
After=network-online.target

[Service]
Type=simple
ExecStart=/usr/local/bin/{{rune}} run \
   --name {{containerName}} \
   -d \
   -p 2202:22 \
   -v {{dataDir}}/{{domain}}:/root/.acme.sh/{{domain}} \
   {{ imageUrl }}
ExecStop=/usr/bin/{{rune}} rm -f {{containerName}}
Restart=always

[Install]
WantedBy=multi-user.target
